<script lang="ts">
export default {
  name: "xt-progress",
};
</script>

<script setup lang="ts">
import { ElProgress } from "element-plus";
import type Typings from "../../../typings";

interface Props extends /* @vue-ignore */ Partial<Typings.Progress.props> {}

withDefaults(defineProps<Props>(), {});
</script>

<template>
  <el-progress class="xt-progress">
    <template v-for="(_value, name) in $slots" #[name]="scope" :key="name">
      <slot :name="name" v-bind="scope || {}"></slot>
    </template>
  </el-progress>
</template>

<style lang="scss">
@use "../../../scss/xt-progress.scss";
</style>
